﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Map.gxjdWebSite
{
    using NHibernate;
    using NHibernate.Mapping.ByCode;
    using NHibernate.Mapping.ByCode.Conformist;

    public class Map_Standard_EconomicType : EntityMapping<DB_Model.gxjdWebSite.Standard_EconomicType>
    {
        public Map_Standard_EconomicType()
        {
            Property(x => x.EconomicCode, map =>
            {
                map.Length(200);
            });

            Property(x => x.EconomicName, map =>
            {
                map.Length(200);
            });
        }
    }
}
